<!DOCTYPE html>
<html>

<head>
    {include file="public/meta" /}
    <link rel="stylesheet" href="__ADDON__/css/meeting.css?v={$Think.config.site.version}" />
</head>

<body>
    <div id="app"  v-cloak style="padding-bottom: 60px;">
		<mt-header title="会议管理"></mt-header>
        <mt-cell class="headerTitle" :title="status==1?'会议记录':'历史会议'"></mt-cell>
		<!-- tab-container -->
		<div class="list">
            <a class="mint-cell" v-for="(v,i) in list">
                <div class="mint-cell-wrapper" style=" background:none;">
					<div class="mint-cell-title">
                        <ul>
                        <li class="mt-time"><span class="mint-cell-text date" v-html="v.starttime_text"></span> 共<span class="people" v-html="v.hour+'小时'"></span></li>
                        <li class="mt-title"><span class="title" v-html="v.title"></span></li>
                        <li><span class="mint-cell-label room" v-html="v.room.title"></span></li>
                        <li><span class="people" v-html="v.people+'人'"></span><div class="mint-cell-value is-link">
                        <span class="mint-badge is-warning is-size-normal"  v-if="v.status==0">待审核</span>
                        <span class="mint-badge is-error is-size-normal"  v-if="v.status==-1">已拒绝</span>
                        <span class="mint-badge is-success is-size-normal"  v-if="v.status==1">已接受</span>
                    	</div>
                        </li>
                        </ul>
                    </div>

                </div>
            </a>
    	</div>
		<!--<mt-tab-container>
		  <mt-tab-container-item id="1">
		     <div class="list">
	            <a class="mint-cell" v-for="(v,i) in list">
	                <div class="mint-cell-wrapper" style=" background:none;">
						<div class="mint-cell-title">
	                        <ul>
	                        <li class="mt-time"><span class="mint-cell-text date" v-html="v.date"></span> 共<span class="people" v-html="v.hour+'小时'"></span></li>
	                        <li class="mt-title"><span class="title" v-html="v.title"></span></li>
	                        <li><span class="mint-cell-label room" v-html="v.room.title"></span></li>
	                        <li><span class="people" v-html="v.people+'人'"></span><div class="mint-cell-value is-link">
	                        <span class="mint-badge is-warning is-size-normal"  v-if="v.status==0">待审核</span>
	                        <span class="mint-badge is-error is-size-normal"  v-if="v.status==-1">已拒绝</span>
	                        <span class="mint-badge is-success is-size-normal"  v-if="v.status==1">已接受</span>
	                    	</div>
	                        </li>
	                        </ul>
	                    </div>

	                </div>
	            </a>
        	</div>
		  </mt-tab-container-item>
		  <mt-tab-container-item id="2">
		    123
		  </mt-tab-container-item>

		</mt-tab-container>-->



        <div class="history">
        	<div v-if="status==1" class="tips">没有会议</div>
            <mt-button type="default" size="small" @click="get(2)" v-if="status==1">历史会议</mt-button>
            <mt-button type="default" size="small" @click="get(1)" v-if="status==2">待开会</mt-button>
        </div>
        <div class="tabbar">
            <mt-tabbar  fixed="true">
                <a class="mint-tab-item" href="{:addon_url('mrbs')}">
                    <div class="mint-tab-item-icon"><i class="iconfont">&#xe650;</i></div>
                    <div class="mint-tab-item-label">
                        会议室
                    </div>
                </a>
                <a class="mint-tab-item is-selected" href="javascript:;">
                    <div class="mint-tab-item-icon"><i class="iconfont">&#xe606;</i></div>
                    <div class="mint-tab-item-label">
                        会议管理
                    </div>
                </a>
<!--                 <a class="mint-tab-item" href="">
                    <div class="mint-tab-item-icon"><i class="iconfont">&#xe603;</i></div>
                    <div class="mint-tab-item-label">
                        更多
                    </div>
                </a> -->
            </mt-tabbar>
        </div>
    </div>
    {include file="public/script" /}
    <script src="__ADDON__/js/meeting.js"></script>
</body>

</html>